package com.bbu.javaexam.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bbu.javaexam.domain.MultiQuestion;

import java.util.List;

/**
 * @author Alex
 * @version 1.0.0
 * @ClassName MultiQuestionService.java
 * @Description TODO
 */
public interface MultiQuestionService extends IService<MultiQuestion> {
    List<MultiQuestion> findByIdAndType(Integer PaperId);

    IPage<MultiQuestion> findAll(Page<MultiQuestion> page);

    MultiQuestion findOnlyQuestionId();

    int add(MultiQuestion multiQuestion);

    List<Integer> findBySubject(String subject, Integer pageNo);
}
